package com.qf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * (TlGorder)实体类
 *
 * @author makejava
 * @since 2023-11-04 09:20:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TlGorder {
    @TableId
    private String gorderId;
    
    private Integer userId;
    
    private String gorderName;
    
    private BigDecimal gorderPrice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gorderTime;
    
    private String gorderAddr;
    
    private Integer gorderFlag;

    @TableField(exist = false)
    private String name;
}
